<!--<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div onclick="adff()">diandi</div>
	</body>
	<script language="VBScript">
		Function vbsd()
		MsgBox "vbs"
		End Function 
		
//		function vbsd(){
//			alert(2);
//		}
</script>
	<script language="JScript">
		function adff(){
			var num = 1356000000.00
//			window.execScript("num=formatNumber(num,,,,-1)","VBScript")
			alert(num);
			vbsd()
		}
	</script>
</html>-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
	<meta charset="UTF-8">
    <title>测试</title>
<HEAD>
<SCRIPT LANGUAGE="VBScript">

Function CreateVBArray()
   Dim i, j, k
   Dim a(2, 2)
   k = 1
   For i = 0 To 2
      For j = 0 To 2
         a(j, i) = k
         document.writeln(k)
         k = k + 1
      Next
      document.writeln("vbCRLF")
   Next
   CreateVBArray = a
End Function

</SCRIPT>

<SCRIPT LANGUAGE="JScript">

function VBArrayTest(vbarray){
   var a = new VBArray(vbarray);
   var b = a.toArray();
   var i;
   for (i = 0; i < 9; i++)
   {
      document.writeln(b[i]);
   }
}

</SCRIPT>
</HEAD>

<BODY>
<SCRIPT LANGUAGE="JScript">

   VBArrayTest(CreateVBArray());

</SCRIPT>
</BODY>
</html>